Skip to content

fix: remove doubled words in error/warning messages - #15949

Open
andrewwhitecdw wants to merge 9 commits into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-doubled-words-error-messages
Open

fix: remove doubled words in error/warning messages#15949
andrewwhitecdw wants to merge 9 commits into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-doubled-words-error-messages

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 24, 2026

Copy link
Copy Markdown

Fixes two user-facing doubled-word typos in error/warning messages.\n\n- nemo/core/optim/lr_scheduler.py: 'max_steps is not not provided' → 'max_steps is not provided'\n- nemo/collections/asr/modules/conformer_encoder.py: '... is not not a valid value' → '... is not a valid value'\n\ncc @nithinraok for core/ASR review

@copy-pr-bot

copy-pr-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added core Changes to NeMo Core ASR community-request labels Jul 24, 2026
@nithinraok

Copy link
Copy Markdown
Member

/claude review

@andrewwhitecdw

Copy link
Copy Markdown
Author

Could a maintainer please add the Run CICD label to trigger CI? As an outside contributor I don't have permission to apply labels myself. Thanks!

@nithinraok

Copy link
Copy Markdown
Member

remove test

@svcnvidia-nemo-ci svcnvidia-nemo-ci added the waiting-on-customer Waiting on the original author to respond label Jul 27, 2026
@nithinraok

Copy link
Copy Markdown
Member

signoff your commits

andrewwhitecdw and others added 9 commits July 28, 2026 19:02
Signed-off-by: Andrew White <andrewh@cdw.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
* update TTS tutorials

Signed-off-by: Jason <jasoli@nvidia.com>

* remove old assets

Signed-off-by: Jason <jasoli@nvidia.com>

---------

Signed-off-by: Jason <jasoli@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
Signed-off-by: Jason <jasoli@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
…local ResidualMLP (NVIDIA-NeMo#15959)

* fix

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* fix

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

---------

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
Signed-off-by: Dongji Gao <dongjig@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
…onfigKeyError (NVIDIA-NeMo#15964)

* add confidences to beam search + cache_aware in streaming inference

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* clean up

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* add logging frame confidence

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* clean up

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* clean up

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* minor clean up

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* clean uo

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* minor changes

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* fix tests

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* minor fix

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* revert compute_metrics_per_sample argument

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* fix

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* fix preprocessor

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

* clean up

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>

---------

Signed-off-by: lilithgrigoryan <lgrigoryan@nvidia.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
…VIDIA-NeMo#15797) (NVIDIA-NeMo#15932)

* fix(asr): make DynamicLengthTensor indexing Python 3.10-compatible (NVIDIA-NeMo#15797)

`streaming_utils.py` used a PEP 646 starred expression directly inside a
subscript (`x[..., *[None for _ in ...]]`), which only parses on Python
3.11+. On Python 3.10 -- which NeMo officially supports
(`requires-python = ">=3.10"`) -- importing the module raised a
SyntaxError, breaking cache-aware streaming inference.

Build the index tuple explicitly (`x[(..., *(None for _ in ...))]`), which
uses standard tuple iterable-unpacking (valid since 3.5) and is
semantically identical to the original indexing across all dim_shape
lengths. Verified to compile on CPython 3.10 through 3.15.

Fixes NVIDIA-NeMo#15797

Signed-off-by: Gaurav Chaudhari <107786677+gauravbyte@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* chore(asr): drop comments around Python 3.10 indexing fix

Signed-off-by: Gaurav Chaudhari <107786677+gauravbyte@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* chore(asr): restore original trailing-axes comment

Signed-off-by: Gaurav Chaudhari <107786677+gauravbyte@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Signed-off-by: Gaurav Chaudhari <107786677+gauravbyte@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Signed-off-by: Andrew White <andrewh@cdw.com>
@andrewwhitecdw
andrewwhitecdw force-pushed the fix-doubled-words-error-messages branch from feb42a6 to f5d9c7c Compare July 29, 2026 00:02
@github-actions github-actions Bot added the TTS label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASR community-request core Changes to NeMo Core TTS waiting-on-customer Waiting on the original author to respond

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants